第 7 步:是时候构建add()函数了!
- 在程序顶部找到def · add() : ¬ 。从函数中删除····传递· ¬ 。
- 从在add()函数块中放置两个缩进的Ask for Float 。
- 将两个.ask()命令中的字符串更改为"Enter a number."
- 将第一个变量名从guess更改为num_1 ,将第二个变量名更改为num_2 。
To navigate the page using the TAB key, first press ESC to exit the code editor.